﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IPIdee.MapServices.Client.Entities.Coordinates;

namespace IPIdee.MapServices.Client.Test
{
    class Program
    {
        static void Main(string[] args)
        {
            TestImplicitConversions();
        }

        public static void TestImplicitConversions()
        {
            LatLngCoordinate coordinate = new LatLngCoordinate()
            {
                Latitude = 52.362942,
                Longitude = 4.923983,
                Zoom = 17
            };

            AbsMapSpotCoordinate absMapSpotCoordinate = (AbsMapSpotCoordinate) coordinate;

            Console.WriteLine(string.Format("{0} {1}", absMapSpotCoordinate.AbsX, absMapSpotCoordinate.AbsY));
            Console.ReadKey();
        }
    }
}
